package com.example.demo5;

import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServlet;
import java.io.IOException;

public class HttpTest extends HttpServlet {
    @Override
    public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {
        System.out.println("service  is going");
    }

    @Override
    public void destroy() {
        System.out.println("destroy  is going");
    }

    @Override
    public void init() throws ServletException {
        System.out.println("init  is going");
    }


}
